home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 96 / PC Zone #096.7z / Dppcz1200.mdf / Demos / Gunlok / data1.cab / Program_Executable_Files / scripts / hark.gsh < prev    next >
Text File  |  2000-09-09  |  2KB  |  67 lines

  1. // defines Hark robot
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. #ifndef INCLUDED_HARK_GSH
  7. #define INCLUDED_HARK_GSH
  8.  
  9. ////////////////////////////////////////////////////////////////////////////////////
  10.  
  11. #include "defaults.gsh"
  12.  
  13. hierarchy Hcy_Hark
  14. {
  15.     file "units\hark mkii.RIF"
  16.     name "hark mkii"
  17.     hotspot "dum flash"
  18. }
  19.  
  20. hierarchy Hcy_HarkCustomize
  21. {
  22.     file "units\wephark.RIF"
  23.     name "wepslix"
  24. }
  25.  
  26. hierarchy Hcy_HarkShadow
  27. {
  28.     file "units\hark_shadow.RIF"
  29.     name "hark_shadow"
  30. }
  31.  
  32. character Chr_Hark : Chr_DefaultGoodie
  33. {
  34.     turning speed   1.4    // this is in revolutions per second
  35.     walking speed   1    // this is in animation cycles per second
  36.     strength        100    // initial strength points
  37.     aim             1    // how many degrees off target he can be at most
  38.     sight angle    89    // in degrees
  39.     sight range     18    // in metres
  40.     hearing range    0    // in metres
  41.     aggression        0.5    // from 0 to 1
  42.     customization hierarchy Hcy_HarkCustomize
  43.     shadow hierarchy        Hcy_HarkShadow
  44.     radius            0.5
  45.     description    hark description
  46.     status window u    339
  47.     status window v    337
  48.     gun yaw angle    180
  49.     vision cone        no
  50. }
  51.  
  52. role Rol_Hark : Rol_DefaultRobot
  53. {
  54.     shape        Hcy_Hark
  55.     character    Chr_Hark
  56.     identifier    "HARK"
  57.     armour        1
  58.     destructibility Des_Explode
  59.     ai            bot
  60. //    sever point "upper arm left,upper arm right,neck"
  61.     limit        2
  62. }
  63.                     
  64. ////////////////////////////////////////////////////////////////////////////////////
  65.  
  66. // end wrapper - for preventing multiple or recursive inclusions
  67. #endif // !INCLUDED_HARK_GSH